<?php



#API
Route::group(['prefix'=>'Api'], function() {

    #API 2016-1-15
    #APP初始接口
    Route::get('/index_app', 'ApiController@IndexApp');                        //done
    #首页数据展示
    Route::get('/index_data', 'ApiController@GetIndexData');                        //done
    #注册
    Route::post('/register', 'ApiController@DeposeRegister');                       //done
    #修改用户信息
    Route::post('/modify_user_info', 'ApiController@ModifyUserInfo');             //done
    #注册手机号验证
    Route::post('/mobile', 'ApiController@Mobile');                                 //done
    #登录
    Route::post('/login', 'ApiController@DeposeLogin');                             //done
    #第三方登陆
    Route::post('/third_login', 'ApiController@ThirdLogin');						//done
    #注销
    Route::get('/logout', 'ApiController@Logout');                                  //done
    #商家入驻信息完善
    Route::post('/modify_common_detail', 'ApiController@ModifyCommonDetail');       //done
    #获取完善信息
    Route::get('/common_detail', 'ApiController@GetCommonDetail');                  //done
    #资质审核
    Route::post('/modify_certify', 'ApiController@ModifyCertifyInfo');              //done
    #邀请码入驻
    Route::post('/user_seller_join_establishment', 'ApiController@UserSellerJoinEstablishment');              //done
    #获取资质信息
    Route::get('/certify_detail', 'ApiController@GetCertifyDetail');                //done
    #获取用户信息
    Route::get('/user_info', 'ApiController@GetUserInfo');                          //done
    #密码修改
    Route::post('/modify_password', 'ApiController@ModifyPassword');                  //done
    #重置密码
    Route::post('/reset_password', 'ApiController@ResetPassword');                  //done
    #自营商品列表
    Route::get('/self_support_product', 'ApiController@GetSelfSupportProduct');     //done
    #商城商品列表
    Route::get('/shop_product', 'ApiController@GetShopProduct');                   //done

    #产品分类信息
    Route::get('/categories', 'ApiController@GetCategories');                         //done
    #增加产品
    Route::post('/add_product', 'ApiController@AddProduct');                         //done

    #获取产品信息
    Route::get('/product_detail', 'ApiController@GetProductDetail');                //done

    #获取发票列表
    Route::get('/invoice_list', 'ApiController@GetInvoiceList');                    //done

    #获取产品上下架列表
    Route::get('/get_manage_product', 'ApiController@GetManageProduct');            //done
    #产品上下架
    Route::post('/manage_product', 'ApiController@ManageProduct');                   //done
    #商家统计
    Route::get('/supplier_statistics', 'ApiController@SupplierStatistics');          //done
    #商家统计链接
    Route::get('/get_supplier_statistics', 'ApiController@GetSupplierStatistics');   //done
    #商家详情
    Route::get('/supplier_detail', 'ApiController@GetSupplierDetail');               //done
    #增加/修改收货地址
    Route::post('/modify_address', 'ApiController@ModifyAddress');                   //done
    #修改默认收货地址
    Route::post('/modify_is_default', 'ApiController@ModifyIsDefault');                   //done
    #删除收获地址
    Route::post('/delete_address', 'ApiController@DeleteAddress');                   //done
    #获取收货地址列表
    Route::get('/address_list', 'ApiController@GetAddressList');                     //done
    #消息中心
    Route::get('/notice_list', 'ApiController@GetNoticeList');                       //done
    #消息详情
    Route::get('/notice_detail', 'ApiController@GetNoticeDetail');                   //done
    #删除消息
    Route::post('/delete_notice', 'ApiController@DeleteNotice');                    //done
    #删除库存商品
    Route::post('/delete_stock_product', 'ApiController@DeleteStoreProduct');       //done

    #商品评论
    Route::post('/add_product_comment', 'ApiController@AddProductComment');         //todo 待测


    #发布询价单
    Route::post('/publish_inquiry', 'ApiController@PublishInquiry');                 //done
    #发布供货单
    Route::post('/publish_supply', 'ApiController@PublishSupply');                   //done
    #发布定制单
    Route::post('/publish_customize', 'ApiController@PublishCustomize');            //done
    #发布木业圈动态
    Route::post('/publish_circle', 'ApiController@PublishCircle');                  //done
    #获取询价单
    Route::get('/inquiry_list', 'ApiController@GetInquiryList');                    //done
    #获取供货单
    Route::get('/supply_list', 'ApiController@GetSupplyList');                      //done
    #获取定制单
    Route::get('/customize_list', 'ApiController@GetCustomizeList');                //done
    #木业圈动态
    Route::get('/circle_list', 'ApiController@GetCircleList');                      //done
    #木业资讯列表*
    Route::get('/information_list', 'ApiController@GetInformationList');           //done
    #资讯详情
    Route::get('/information_detail', 'ApiController@GetInformationDetail');        //done
    #反馈信息列表
    Route::get('/feedback_list', 'ApiController@GetFeedbackList');                  //done
    #发送反馈
    Route::post('/send_feedback', 'ApiController@SendFeedback');                     //done
    #收藏产品
    Route::post('/collect_product', 'ApiController@CollectProduct');                //done
    #我的收藏
    Route::get('/collect_list', 'ApiController@GetCollectList');                    //done
    #木业圈点赞
    Route::post('/add_circle_like', 'ApiController@AddCircleLike');                 //done
    #木业圈评论
    Route::post('/add_circle_comment', 'ApiController@AddCircleComment');           //done
    #回复木业圈需求单
    Route::post('/reply_circle_request', 'ApiController@ReplyCircleRequest');       //done

    #林场列表*
    Route::get('/forest_list', 'ApiController@GetForestList');                      //done
    #林场详情*
    Route::get('/forest_detail', 'ApiController@ForestDetail');                     //done
    #林场需求*
    Route::post('/forest_need', 'ApiController@ForestNeed');                        //done

    #港口分布*
    Route::get('/harbour_list', 'ApiController@GetHarbourList');                    //done
    #港口详情*
    Route::get('/harbour_detail', 'ApiController@HarbourDetail');                   //done
    #港口需求*
    Route::post('/harbour_need', 'ApiController@HarbourNeed');                      //done

    #线路查询
    Route::get('/query_line', 'ApiController@QueryLine');                           //done
    #物流需求
    Route::post('/transport_need', 'ApiController@TransportNeed');                  //done

    #仓储列表
    Route::get('/storage_list', 'ApiController@GetStorageList');                    //done
    #仓储详情
    Route::get('/storage_detail', 'ApiController@StorageDetail');                   //done
    #仓储需求
    Route::post('/storage_need', 'ApiController@StorageNeed');                      //done
    #买家全部订单
    Route::get('/order_all', 'ApiController@OrderAll');
    #订单详情
    Route::get('/order_detail', 'ApiController@OrderDetail');                   //done
    #订单状态
    Route::get('/order_status', 'ApiController@OrderStatus');                  //todo 待测
    #订单列表
    Route::get('/order_list', 'ApiController@OrderList');                   //done
    #订单生成
    Route::post('/generate_order', 'ApiController@GenerateOrder');          //done
    #支付页面
    Route::get('/pay_submit', 'ApiController@PaySubmit');          //done
    #支付
    Route::get('/pay_first', 'ApiController@PayFirst');          //done
    #测试支付
    Route::get('/pay_submit_test', 'ApiController@PaySubmitTest');          //done
    #支付配送
    Route::get('/pay_shipping', 'ApiController@PayShipping');            //done
    #确认订单
    Route::get('/confirm_order', 'ApiController@ConfirmOrder');         //done
    #订单详情
    Route::get('/order_detail', 'ApiController@OrderDetail');//done
    #删除订单
    Route::any('/delete_order', 'ApiController@DeleteOrder');          //todo 待测
    #支付成功跳转
    Route::get('/success_url', 'ApiController@SuccessUrl');          //
    #支付失败跳转
    Route::get('/fail_url', 'ApiController@FailUrl');          //
    #取消订单
    Route::get('/cancel_order', 'ApiController@CancelOrder');          //
    #确认收货
    Route::get('/confirm_receipt', 'ApiController@ConfirmReceipt');          //
    #更改价格
    Route::get('/change_price', 'ApiController@ChangePrice');          //
    #确认发货
    Route::get('/send_goods', 'ApiController@SendGoods');          //
    #异步通知
    Route::post('/notify_web', 'ApiController@Notify');          //
    #pos机对接
    Route::post('/pos', 'ApiController@Pos');                  //done
    #测试
    Route::any('/test', 'ApiController@test');                  //done
    #订单过期处理
    Route::any('/order_expired', 'ApiController@Order_Expired');                  //done


    #购物车添加商品
    Route::post('/add_cart', 'ApiController@AddCart');                  //done
    #购物车更新商品
    Route::post('/update_cart', 'ApiController@UpdateCart');            //done
    #购物车列表
    Route::get('/cart_info', 'ApiController@CartInfo');                  //done
    #购物车删除商品
    Route::post('/delete_cart', 'ApiController@DeleteCart');            //done

    #视频播放
    Route::get('/video_play', 'ApiController@VideoPlay');
    #帮助中心
    Route::get('/help_center', 'ApiController@HelpCenter');                    //done
    #帮助文章
    Route::get('/help_article', 'ApiController@HelpArticle');                  //done
    #关于木投
    Route::get('/about', 'ApiController@About');                               //done
    #资金需求
    Route::get('/cash_flow', 'ApiController@CashFlow');                         //done
    #获取资金需求
    Route::get('/get_cash_flow', 'ApiController@GetCashFlow');                  //done
    #获取token
    Route::get('/get_token', 'ApiController@GetToken');                  //done
    #上传头像
    Route::post('/upload_avatar', 'ApiController@UploadAvatar');         //done

    Route::get('/jd_pay', 'ApiController@JdPay');                  //done

    #获取单位
    Route::get('/get_unit', 'ApiController@GetUnit');                  //done

    #采购信息
    Route::any('/purchase_resource', 'ApiController@PurchaseResource');                       //采购列表
    Route::any('/user_purchase_resource', 'ApiController@UserPurchaseResource');            //个人中心采购列表
    Route::any('/purchase_resource_details', 'ApiController@PurchaseResourceDetails');     //采购详情
    Route::any('/add_purchase', 'ApiController@AddPurchase');                                   //发布采购
    Route::any('/purchase_resource_del', 'ApiController@PurchaseResourceDel');               //采购删除

    #现货
    Route::get('/new_resource', 'ApiController@NewResource');                                   //现货列表
    Route::get('/user_new_resource', 'ApiController@UserNewResource');                          //个人现货列表
    Route::post('/add_new_resource', 'ApiController@AddNewResource');                         //现货添加
    Route::get('/delete_new_resource', 'ApiController@DeleteNewResource');                   //现货删除
    Route::get('/get_new_resource_detail', 'ApiController@GetNewResourceDetail');            //现货详情





});

Route::get('/captcha', 'AdminController@Captcha');                          //验证码

Route::group(['prefix'=>'admin'], function() {
    /**
     * 后台登录
     */
    Route::get('/', 'AdminController@Login');                                   //登录界面
    Route::post('/depose_login', 'AdminController@DisposeLogin');               //登录请求
    Route::post('/cache_cate', 'AdminController@CacheCate');                    //分类缓存

    Route::group(array('before' => 'admin'), function () {



        Route::post('/add_invite_code', 'AdminController@AddInviteCode');              //林场列表
        /**
         * 林场服务
         */
        Route::get('/forest_service', 'AdminController@forest_service');              //林场列表
        Route::get('/forest_import', 'AdminController@ForestImport');                 //林场录入
        Route::any('/forest_delete', 'AdminController@DeleteForest');                 //删除
        Route::any('/forest_service_ajax', 'AdminController@ForestServiceAjax');      //林场ajax返回
        Route::any('/edit_forest', 'AdminController@EditForest');                     //编辑

        /**
         *广告位管理
         */
        Route::get('/ads_list', 'AdminController@AdsList');                           //广告列表
        Route::any('/add_ads', 'AdminController@AddAds');                             //广告位添加
        Route::any('/edit_ads', 'AdminController@EditAds');                           //广告位编辑
        Route::any('/del_ads', 'AdminController@DelAds');                             //广告位删除
        Route::any('/ads_ajax', 'AdminController@AdsAjax');                           //ajax返回

        /**
         *仓储服务
         */
        Route::get('/storage_service', 'AdminController@StorageService');              //仓储列表
        Route::get('/storage_import', 'AdminController@StorageImport');                //仓储录入
        Route::any('/storage_delete', 'AdminController@StorageDelete');                //删除
        Route::any('/storage_service_ajax', 'AdminController@StorageServiceAjax');     //林场ajax返回
        Route::any('/storage_edit', 'AdminController@StorageEdit');                    //编辑

        /**
         *文章管理
         */
        Route::get('/article_show', 'AdminController@ArticleList');                     //文章列表
        Route::get('/article_add', 'AdminController@ArticleImport');                    //文章录入
        Route::any('/article_delete', 'AdminController@ArticleDelete');                 //文章删除
        Route::any('/article_service_ajax', 'AdminController@ArticleServiceAjax');      //文章ajax返回
        Route::any('/article_edit', 'AdminController@ArticleEdit');                     //文章编辑

        /**
         *管理员管理
         */
        Route::get('/manage_admin', 'AdminController@ManageAdmin');                 //管理员管理
        Route::get('/add_admin', 'AdminController@AddAdmin');                       //管理员添加
        Route::any('/edit_admin', 'AdminController@EditAdmin');                     //管理员编辑
        Route::any('/del_admin', 'AdminController@DeleteAdmin');                    //管理员删除
        Route::any('/admin_service_ajax', 'AdminController@AdminServiceAjax');      //管理员ajax

        /**
         *日志管理
         */
        Route::get('/log_service', 'AdminController@LogService');                    //日志
        Route::any('/del_log', 'AdminController@DeleteLog');                         //日志删除
        Route::any('/log_service_ajax', 'AdminController@LogServiceAjax');           //日志ajax

        /**
         *商家管理
         */
        Route::get('/manage_supplier', 'AdminController@ManageSupplier');                   //商家列表
        Route::get('/add_supplier', 'AdminController@AddSupplier');                         //商家入驻
        Route::any('/edit_supplier', 'AdminController@EditSupplier');                       //编辑商家
        Route::any('/del_supplier', 'AdminController@DelSupplier');                         //删除商家
        Route::any('/supplier_ajax', 'AdminController@SupplierAjax');                       //ajax返回
        Route::any('/supplier_examine', 'AdminController@SupplierExamine');                 //商家审核
        Route::any('/supplier_examine_list', 'AdminController@SupplierExamineList');        //商家审核列表
        Route::any('/supplier_examine_action', 'AdminController@SupplierExamineAction');        //商家审核列表

        /**
         *订单管理
         */
        Route::get('/order_list', 'AdminController@OrderList');                     //订单列表
        Route::get('/order_list', 'AdminController@OrderList');                     //订单列表
        Route::get('/inquiry_list', 'AdminController@InquiryList');                 //询价单列表
        Route::get('/customize_list', 'AdminController@CustomizeList');             //定制单列表
        Route::get('/customize_status', 'AdminController@CustomizeStatus');           //查看定制单
        Route::post('/customize_update', 'AdminController@CustomizeUpdate');           //查看定制单
        Route::get('/supply_list', 'AdminController@SupplyList');                   //供货单列表
        Route::get('/forest_need', 'AdminController@ForestNeed');                   //林场直供
        Route::get('/harbour_need', 'AdminController@HarbourNeed');                 //港口需求
        Route::get('/storage_need', 'AdminController@StorageNeed');                 //仓储需求

        /**
         *资讯管理
         */
        Route::get('/news_list', 'AdminController@NewsList');                              //资讯列表
        Route::get('/news_import', 'AdminController@NewsImport');                          //资讯导入
        Route::post('/news_delete_action', 'AdminController@NewsDeleteAction');            //资讯刪除
        Route::get('/news_service_ajax', 'AdminController@NewsServiceAjax');               //資訊ajax返回
        Route::post('/news_modify_action', 'AdminController@NewsModifyAction');            //資訊入库
        Route::post('/news_update_action', 'AdminController@NewsUpdateAction');            //資訊修改

        /**
         *会员管理
         */
        Route::get('/manage_customer', 'AdminController@ManageCustomer');                    //会员管理
        Route::get('/majia_list', 'AdminController@MajiaList');                              //马甲列表
        Route::get('/customer_import', 'AdminController@CustomerImport');                    //会员录入
        Route::any('/customer_edit', 'AdminController@CustomerEdit');                        //会员编辑
        Route::any('/customer_delete', 'AdminController@CustomerDelete');                    //会员删除
        Route::any('/customer_service_ajax', 'AdminController@CustomerServiceAjax');         //会员ajax返回

        /**
         *物流管理
         */
        Route::get('/transport_service', 'AdminController@TransportService');                        //物流服务
        Route::get('/transport_service_ajax', 'AdminController@TransportServiceAjax');               //物流ajax返回
        Route::any('/transport_modify', 'AdminController@TransportModify');                          //物流线路录入
        Route::post('/transport_modify_action', 'AdminController@TransportModifyAction');            //物流线路入库
        Route::post('/transport_update_action', 'AdminController@TransportUpdateAction');            //物流线路修改
        Route::post('/transport_delete_action', 'AdminController@TransportDeleteAction');            //物流线路删除
        Route::post('/harbour_update_action', 'AdminController@HarbourUpdateAction');                //物流线路修改

        /**
         * 港口服务
         */
        Route::get('/harbour_service_ajax', 'AdminController@HarbourServiceAjax');                   //港口ajax返回
        Route::get('/harbour_service', 'AdminController@HarbourServiceAction');                      //港口列表
        Route::get('/harbour_import', 'AdminController@HarbourImport');                              //港口录入
        Route::post('/harbour_delete_action', 'AdminController@HarbourDeleteAction');                //港口删除
        Route::post('/harbour_modify_action', 'AdminController@HarbourModifyAction');                //港口入库

        /**
         * 产品管理
         */
        Route::get('/manage_product', 'AdminController@ManageProduct');                                 //产品管理
        Route::get('/product_import', 'AdminController@ProductImport');                                 //产品录入
        Route::post('/product_import_action', 'AdminController@ProductImportAction');                   //产品入库
        Route::post('/product_update_action', 'AdminController@ProductUpdateAction');                   //产品修改
        Route::post('/product_delete_action', 'AdminController@ProductDeleteAction');                   //产品删除
        Route::get('//product_examine_list', 'AdminController@ProductExamineList');                     //产品审核列表
        Route::get('/product_examine', 'AdminController@ProductExamine');                               //产品审核
        Route::post('/product_examine_action', 'AdminController@ProductExamineAction');                //修改审核状态
        Route::get('/product_service_ajax', 'AdminController@ProductServiceAjax');                      //产品ajax返回
        Route::any('/linkage', 'AdminController@linkage');                      //联动

        /**
         * 现货管理
         */
        Route::get('/manage_new_resource', 'AdminController@ManageNewResource');                                 //现货管理
        Route::post('/new_resource_delete_action', 'AdminController@NewResourceDeleteAction');                   //现货删除
        Route::any('/new_resource_examine', 'AdminController@NewResourceExamine');                               //现货审核,
        Route::post('/new_resource_examine_action', 'AdminController@NewResourceExamineAction');                //修改审核状态
        Route::any('/new_resource_service_ajax', 'AdminController@NewResourceServiceAjax');                      //现货ajax返回
        /**
         * 产地管理
         */
        Route::get('/product_place', 'AdminController@ProductPlace');                                   //产地管理
        Route::get('/product_place_import', 'AdminController@ProductPlaceImport');                      //产地录入
        Route::post('/product_place_import_action', 'AdminController@ProductPlaceImportAction');        //产地入库
        Route::post('/product_place_update_action', 'AdminController@ProductPlaceUpdateAction');        //产地修改
        Route::post('/product_place_delete_action', 'AdminController@ProductPlaceDeleteAction');        //产地删除
        Route::get('/product_place_ajax', 'AdminController@ProductPlaceAjax');                          //产地ajax返回

        /**
         * 品牌管理
         */
        Route::get('/product_brand', 'AdminController@ProductBrand');                                   //品牌管理
        Route::get('/product_brand_import', 'AdminController@ProductBrandImport');                      //品牌录入
        Route::post('/product_brand_import_action', 'AdminController@ProductBrandImportAction');        //品牌入库
        Route::post('/product_brand_delete_action', 'AdminController@ProductBrandDeleteAction');        //品牌删除
        Route::post('/product_brand_update_action', 'AdminController@ProductBrandUpdateAction');        //品牌修改
        Route::get('/product_brand_ajax', 'AdminController@ProductBrandAjax');                          //品牌ajax返回

        /**
         * 分类管理
         */
        Route::get('/product_cate', 'AdminController@ProductCate');                                     //分类管理

        Route::get('/product_cate_import', 'AdminController@ProductCateImport');                        //分类录入
        Route::get('/product_class_import', 'AdminController@ProductClassImport');                      //品类录入
        Route::get('/product_quality_import', 'AdminController@ProductQualityImport');                  //材质录入
        Route::post('/product_cate_import_action', 'AdminController@ProductCateImportAction');    //分类，品类，材质入库
        Route::any('/product_cate_delete_action', 'AdminController@ProductCateDeleteAction');          //分类，品类，材质删除
        Route::post('/product_cate_update_action', 'AdminController@ProductCateUpdateAction');          //分类，品类，材质修改
        Route::get('/product_cate_ajax', 'AdminController@ProductCateAjax');                            //分类，品类，材质ajax返回
        Route::get('/product_level_import', 'AdminController@ProductLevelImport');                      //等级录入
        Route::post('/product_level_import_action', 'AdminController@ProductLevelImportAction');        //等级入库
        Route::get('/product_spec_import', 'AdminController@ProductSpecImport');                        //规格录入
        Route::post('/product_spec_import_action', 'AdminController@ProductSpecImportAction');          //规格入库
        /**
         * 采购管理
         */
        Route::get('/purchase_resource', 'AdminController@PurchaseResource');                                     //采购管理
        Route::get('/purchase_resource_details', 'AdminController@PurchaseResourceDetails');                    //采购详情
        Route::any('/purchase_resource_examine', 'AdminController@PurchaseResourceExamine');                    //采购审核

        //反馈意见
        Route::any('/feedback_list', 'AdminController@FeedbackList');
        Route::any('/feedback_delete_action', 'AdminController@FeedbackDeleteAction');  //删除反馈意见
        Route::any('/feedback_ajax', 'AdminController@FeedbackAjax');                   //ajax返回值

        Route::any('/prompt', 'AdminController@Prompt');                   //提示
        Route::any('/prompt_ajax', 'AdminController@PromptAjax');


    });
});

/*------------------------------------------------PC商城---------------------------------------------------------*/
Route::get('/down', 'ShopController@Down');                                            //下载
Route::get('/', 'ShopController@Index');                                               //首页

Route::post('/publish_customize', 'ShopController@PublishCustomize');                   //发布定制单

Route::get('/login', 'ShopController@Login');                                          //登录
Route::any('/js_verify_login', 'ShopController@JsVerifyLogin');                        //js登录验证
Route::any('/verify_login', 'ShopController@VerifyLogin');                             //登录验证
Route::get('/logout', 'ShopController@Logout');                                         //退出登录

Route::get('/register', 'ShopController@Register');                                    //注册
Route::any('/js_verify_register', 'ShopController@JsVerifyRegister');                  //注册js验证
Route::any('/verify_news', 'ShopController@VerifyNews');                               //注册短信验证
Route::any('/depose_register', 'ShopController@DeposeRegister');                       //注册入库


Route::get('/retrieve_pass', 'ShopController@RetrievePass');                           //重置密码
Route::any('/modify_pwd', 'ShopController@ModifyPwd');                           //密码入库

Route::any('/new_resource', 'ShopController@NewResource');                             //现货列表
Route::get('/new_resource_details', 'ShopController@NewResourceDetails');              //现货详情
Route::any('/shopping', 'ShopController@Shopping');                                    //商城列表
Route::get('/shopping_four', 'ShopController@ShoppingFour');                           //商城四大分类
Route::get('/select_keyword', 'ShopController@SelectKeyword');                         //商城关键词子搜索
Route::any('/index_keyword', 'ShopController@IndexKeyword');                           //首页关键词子搜索
Route::get('/shopping_details', 'ShopController@ShoppingDetails');                     //商城原木，板材详情
Route::get('/shopping_details2', 'ShopController@ShoppingDetails2');                   //商城原木，板材详情
Route::any('/select_purchase', 'ShopController@SelectPurchase');                       //采购列表查询
Route::post('add_purchase', 'ShopController@AddPurchase');                             //发布采购
Route::get('/information_list', 'ShopController@InformationList');                     //资讯列表
Route::get('/information_details', 'ShopController@InformationDetails');             //资讯详情
Route::get('/mall_index', 'ShopController@MallIndex');                                 //商城页
Route::any('/jd_pay_first', 'ShopController@JdPayFirst');                               //pc端京东支付
Route::any('/jd_pay', 'ShopController@JdPay');                                           //pc端京东支付
Route::any('/jd_pay_success', 'ShopController@JdPaySuccess');                         //pc端京东支付成功

#个人中心
Route::any('/user_account', 'ShopUserController@UserAccount');                                  //账户信息
Route::any('/user_account_modify', 'ShopUserController@UserAccountModify');                     //修改账户信息

Route::any('/user_now_resource', 'ShopUserController@UserNowResource');                         //发布现货资源
Route::any('/user_add_now_resource', 'ShopUserController@UserAddNowResource');                  //现货资源入库
Route::any('/user_now_resource_admin', 'ShopUserController@UserNowResourceAdmin');              //资源单管理
Route::any('/new_resource_delete', 'ShopUserController@NowResourceDelete');                     //资源单删除
Route::any('/new_resource_ajax', 'ShopUserController@NowResourceAjax');                         //资源单删除

Route::any('/user_purchase_resource', 'ShopUserController@UserPurchaseResource');               //发布采购单
Route::any('/user_purchase_resource_admin', 'ShopUserController@UserPurchaseResourceAdmin');    //采购单管理
Route::any('/user_purchase_resource_del', 'ShopUserController@UserPurchaseResourceDel');        //采购单删除
Route::any('/user_purchase_resource_admin', 'ShopUserController@UserPurchaseResourceAdmin');    //采购单管理
Route::any('/user_receipt_address', 'ShopUserController@UserReceiptAddress');                   //收货地址

Route::any('/user_seller_join', 'ShopUserController@UserSellerJoin');                           //入驻木投网
Route::any('/user_seller_join_info', 'ShopUserController@UserSellerJoinInfo');                  //入驻木信息入库
Route::any('/user_seller_join_establishment', 'ShopUserController@UserSellerJoinEstablishment');
Route::any('/update_user_seller_join', 'ShopUserController@UpdateUserSellerJoin');              //重新审核


Route::any('/user_amend_pass', 'ShopUserController@UserAmend_pass');                            //修改密码
Route::any('/user_password_select', 'ShopUserController@UserPasswordSelect');                   //查询原密码是否正确
Route::any('/user_password_update', 'ShopUserController@UserPasswordUpdate');                   //修改原密码

#--------------------------购物车-------------------

Route::post('/shop_add_cart', 'ShopUserController@ShopAddCart');                                //添加购物车
Route::any('/shop_cart_list', 'ShopUserController@ShopCartList');                               //购物车列表
Route::any('/shop_cart_delete', 'ShopUserController@ShopCartDelete');                           //删除购物车商品
Route::any('/head_cart_delete', 'ShopUserController@HeadCartDelete');                           //删除购物车商品
Route::post('/shop_update_cart', 'ShopUserController@ShopUpdateCart');                          //购物车更新商品
Route::any('/shop_cart_ajax', 'ShopUserController@ShopCartAjax');                               //购物车商品AJAX返回值
Route::any('/shop_cart_submit', 'ShopUserController@ShopCartSubmit');                           //提交购物车商品
Route::any('/shop_generate_order', 'ShopUserController@ShopGenerateOrder');                     //生成订单

//----------------------------订单------------------------------


Route::any('/user_order', 'ShopUserController@UserOrder');                        //我的订单
Route::any('/user_order_num', 'ShopUserController@UserOrderNum');                 //我的订单数量
Route::any('/cancel_order_pc', 'ShopUserController@CancelOrderPc');               //订单取消
Route::any('/del_order_pc', 'ShopUserController@DelOrderPc');                     //订单删除
Route::any('/confirm_receipt', 'ShopUserController@ConfirmReceipt');              //确认收货
Route::any('/order_details', 'ShopUserController@OrderDetailPc');                 //订单详情
Route::any('/default_address', 'ShopUserController@DefaultAddress');              //设为默认地址
Route::any('/delete_address', 'ShopUserController@DeleteAddress');                //删除地址
Route::any('/update_select', 'ShopUserController@UpdateSelect');                  //修改查询
Route::any('/insert_address', 'ShopUserController@InsertAddress');                //添加地址
Route::any('/update_address', 'ShopUserController@UpdateAddress');                //修改地址

Route::any('/purchase_guarantee', 'ShopController@PurchaseGuarantee');                //修改地址


#帮助中心
Route::any('/foot_about_us', 'ShopController@FootAboutUs');                //关于我们
Route::any('/foot_dl', 'ShopController@FootDl');                           //介绍

Route::post('/opinion', 'ShopController@Opinion');                           //反馈意见
Route::any('/banner_special', 'ShopController@BannerSpecial');                           //反馈意见


Route::any('/phone', 'ShopController@Phone');                           //移动端
